import Vue from 'vue'
import VueRouter from 'vue-router'
import ListItme from '@/components/listItme'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(VueRouter)
Vue.use(ElementUI)

const routes = [
  {
    path:"/listItme",
    component:ListItme,
  },
  {
    path:"*",
    redirect:"/listItme"
  }

]

const router = new VueRouter({
  routes
})

export default router
